<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>最近话题</title>
<link href="__ROOT__/PublicFunction/Tpl/default/style/group-style.css" rel="stylesheet" type="text/css" />
<link href="__TMPL__style/prosonal-style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
function show(){
var tab=document.getElementById("tab");
var tr=tab.getElementsByTagName("tr");
for(var i=0;i<=tr.length;i++){
if(i%2==0){
tr[i].style.backgroundColor="#ddedff";
tr[i].onmouseover=function(){this.style.background="#d2e7ff"};
tr[i].onmouseout=function(){this.style.background="#ddedff"}
}else{
tr[i].style.backgroundColor="#f2f8ff";
tr[i].onmouseover=function(){this.style.background="#d2e7ff"};
tr[i].onmouseout=function(){this.style.background="#f2f8ff"}
}
}
}
window.onload=show;
</script>
</head>

<body>
<div class="recent-topics">
<h2 style="background:#fff;">最近话题</h2>
<table width="757" border="0" cellpadding="0" cellspacing="0" class="mode-tab-style">
<thead style="background:#fff;">
  <tr>
  	<th width="30">序号</th>
    <th>标题</th>
	<th>所在群组</th>
    <th width="120">用户</th>
    <th width="150">发表时间</th>
    <th width="60">阅读次数</th>
    <th width="60">评论次数</th>
  </tr>
</thead>
<tbody id="tab">
 <volist name="list" id="vo">
  <tr>
	<td>{$i}</td>
	<td class="tab-title"><a href="__ROOT__/public.php?s=/circle/article/cyid/{$vo.cyid}/id/{$vo.id}" target="_blank">{$vo.title}</a></td>
	<td><a href="__ROOT__/public.php?s=/circle/group/cyid/{$vo.cyid}" target="_blank">{$vo.cname}</a></td>
	<td>{$vo.username}</td>
	<td>{$vo['create_time']}</td>
	<td>{$vo.read_num}</td><td>{$vo.comment_num}</td>
  </tr>
 </volist>
 </tbody>
</table>

</div>
</body>
</html>
